<?php

//超大物理技
class VirtualCrawl extends SingleAttack {

	public function __construct() {
		$this->id = 93;
		$this->name = "虚空爪激";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->hits = 50;
	}

}

class ExtinctPunch extends SingleAttack {

	public function __construct() {
		$this->id = 94;
		$this->name = "絶滅覇拳";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 30;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->crt = 50;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被一拳打成一滩肉泥。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."向".$b->name."挥出气势万钧的铁拳。<br>";
	}

}

class RakshaDragon extends SingleAttack {

	public function __construct() {
		$this->id = 95;
		$this->name = "羅刹龍転斬";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 3;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 370;
		$this->abase = 50;
		$this->god_abn = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= "刀光闪过后，".$b->name."只剩下上半身在地上作垂死挣扎。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."旋起十米长的巨刀，向".$b->name."杀去。<br>";
	}
	
	public function post_action($a,$b) {
		if($this->ar == 1) {
			StatusHelper::pala($a,$b,$this->abase,$this);
		}
	}

}

class DragonCross extends SingleAttack {

	public function __construct() {
		$this->id = 96;
		$this->name = "ドラゴンクロス";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 14;

		$this->pwr = 360;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 1;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 380;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= "吾化身为龙，将汝化为尘埃！<br>";
		CalHelper::cgdisplay('enfly_sp.jpg');
		parent::attk_desc($a,$b);
	}

	public function post_action($a,$b) {
		if($this->ar == 1) {
			StatusHelper::all_down_20($b);
		} else {
			StatusHelper::vit_down_20($b);
		}
	}

}

class HeatCrazy extends SingleAttack {

	public function __construct() {
		$this->id = 97;
		$this->name = "焦熱の狂宴";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 1;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 370;
		$this->abase = 50;
		$this->god_abn = 1;
	}
	
	public function post_action($a,$b) {
		if($this->ar == 1) {
			StatusHelper::confuse($a,$b,$this->abase,$this);
		}
	}
}

class CycloneStrike extends SingleAttack {

	public function __construct() {
		$this->id = 98;
		$this->name = "高天烈风弹";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->tgtnum = 0;		//全体攻击时实际攻击人数,单体固定为0，扩散固定为0,全体默认1、根据实际变化

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通
		$this->defbreak = 1;	//破防

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->exprop = 5;
		$this->isunique = 1;

	}
	
	public function arskset() {
		$this->pwr = 370;
		$this->abase = 50;
		$this->god_abn = 1;
	}
	
	public function attk_desc($a,$b) {
		$_SESSION['show'] .= "吾在此召唤，汝自然而生，光耀背后的暗夜之王，赐予吾那岚之力量！降临吧！高天裂风弹！！";
		CalHelper::cgdisplay('onion_bullet.jpg');
	}
	
	public function post_action($a,$b) {
		if($this->ar == 1) {
			StatusHelper::high($a,$b,$this->abase,$this);
		}
	}

}

class PureRay extends SingleAttack {

	public function __construct() {
		$this->id = 99;
		$this->name = "汚れ無き威光";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 13;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->abase = 50;
		$this->isunique = 1;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."掣剑长呼：<br>吾心如明镜止水<br>吾剑却灼热似火<br>真正的光芒从不会被遮挡<br>".$this->name."！<br>";
		CalHelper::cgdisplay("eking_1.jpg");
	}

	public function post_action($a,$b) {
		StatusHelper::high($a,$b,$this->abase,$this);
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= "你失败的原因，就是让我激昂了！<br>";
	}
}

class BalialTentacle extends SingleAttack {

	public function __construct() {
		$this->id = 100;
		$this->name = "死魔の触手";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 13;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->crt = 35;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."被触手穿透，两眼翻白，身体高悬在触手的尖梢上示众。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."的双臂化为粗黑的触手，向".$b->name."卷去。<br>";
	}

}

class InnocentAttack extends SingleAttack {

	public function __construct() {
		$this->id = 101;
		$this->name = "イノセントアタック";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 13;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 1;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->crt = 35;
	}

	public function attk_desc($a,$b) {
		if($b->element == 7) {
			CalHelper::spec_talk($this,1,"就算神明不出现，也必定会有有心者代替神明制裁罪恶，".$b->name."接招吧！".$this->name."！");
		} else {
			$_SESSION['show'] .= $a->name."对".$b->name."发动".$this->name."<br>";
		}
	}
}

class Laevatein extends SingleAttack {

	public function __construct() {
		$this->id = 103;
		$this->name = "レーヴァテイン";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 13;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 30;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
		$this->exprop = 1;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= "展现真正的姿态！豪炎之剑！烙烧其身！奥义！".$this->name."<br>";
		CalHelper::cgdisplay('quanjia_3.jpg');
	}

}

class AuroralCut extends AllAttack {

	public function __construct() {
		$this->id = 104;
		$this->name = "極光大破斬";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 190;
		$this->ap = 16;

		$this->pwr = 360;			//基本攻击值
		$this->hits = 20;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 20;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 6;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 410;
		$this->hits = 30;
		$this->crt = 30;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= "在炽烈的黄金光芒之中".$b->name."被一劈两半，余辉向夜空中飘零散尽<br>";
	}
	
	public function attk_desc($a,$b) {
		parent::attk_desc($a,$b);
		if($a->cid == 123) {
			$_SESSION['show'] .= "常胜之王于此高声唱响手中所持奇迹的真名 Excalibur！<br>";
			CalHelper::cgdisplay('slili_aura.jpg');
		}
	}

}

class ThunderBattleArray extends AllAttack {

	public function __construct() {
		$this->id = 105;
		$this->name = "天将雷炎陣";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 180;
		$this->ap = 16;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 3;               //附加元素属性，火1冰2雷3地4风5光6暗7
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 390;
		$this->crt = 30;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= "在炽烈的雷火交织中，".$b->name."惨叫着化为焦尸。<br>";
	}

	public function attk_desc($a,$b) {
		if(CalHelper::is_arise($a) == 1) {
			$_SESSION['show'] .= $a->name."：“この，ヴァルキュリアの，最後の蒼炎お！”";
			CalHelper::cgdisplay('gsilver_extf.jpg');
		} else {
			$_SESSION['show'] .= $a->name."：“このヴァルキュリアの蒼炎お！”";
			CalHelper::cgdisplay('gsilver_tf.jpg');
		}
		$_SESSION['show'] .= $a->name."发动".$this->name."，雷火的洪浪在".$b->name."脚下升腾而起。<br>";
	}

}

class Pulalaya extends AllAttack {

	public function __construct() {
		$this->id = 106;
		$this->name = "プララヤ";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 170;
		$this->ap = 16;

		$this->pwr = 370;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exdtype = array(6,7);
		$this->dbase = 50;
		$this->isunique = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."尸骨无存。<br>";
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."向大地张开双臂，无数的光刺向".$b->name."攻去。<br>";
	}

	public function post_action($a,$b) {
		if($b->crted == 1) {
			$this->post_dead($a,$b);
			$this->nopostd = 1;
		} else {
			$this->nopostd = 1;
		}
	}

}

class AgainPain extends SingleAttack {

	public function __construct() {
		$this->id = 563;
		$this->name = "アゲンストペイン";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 140;
		$this->ap = 14;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 45;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}

}

class GiantMurdur extends AllAttack {

	public function __construct() {
		$this->id = 564;
		$this->name = "大屠殺";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 15;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 25;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}

}
class Apolocy extends AllAttack {

	public function __construct() {
		$this->id = 617;
		$this->name = "大屠殺";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 16;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 15;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 6;
		$this->isunique = 1;
	}

}

class DragonFly extends SingleAttack {

	public function __construct() {
		$this->id = 251;
		$this->name = "龍飛天翔";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 14;

		$this->pwr = 370;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成
		$this->dmgfactor = array('str','spd');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 5;
		$this->isunique = 1;
	}

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的上半身粉碎，双腿连腰的半身尸首仍不住地疯狂扭曲抽搐，俄久方息。<br>";
	}
}

class GiantCannon extends SingleAttack {

	public function __construct() {
		$this->id = 566;
		$this->name = "周極の巨砲";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 2;
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 370;
		$this->abase = 50;
		$this->god_abn = 1;
	}
	
	public function post_action($a,$b) {
		if($this->ar == 1) {
			StatusHelper::close($a,$b,$this->abase,$this);
		}
	}
}

class ChaosAttack extends SingleAttack {

	public function __construct() {
		$this->id = 80;
		$this->name = "ケイオスタック";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 1;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
		$this->exprop = 4;
	}
	
	public function arskset() {
		$this->pwr = 370;
		$this->abase = 50;
		$this->god_abn = 1;
	}
	
	public function post_action($a,$b) {
		if($this->ar == 1) {
			StatusHelper::terror($a,$b,$this->abase,$this);
		}
	}
}

class GrantCross extends AllAttack {

	public function __construct() {
		$this->id = 567;
		$this->name = "グランドクロス";			//技能名称
		$this->type = 0;				//组别
		$this->atk_type = 0;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 180;
		$this->ap = 16;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 30;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->dmgfactor = array('str','mgr');

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率
		$this->plus = 1;		//复数减成

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 0;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->exprop = 6;
		$this->isunique = 1;
		$this->abase = 50;
	}
	
	public function arskset() {
		$this->abase = 60;
	}
	
	public function post_action($a,$b) {
		StatusHelper::close($a,$b,$this->abase,$this);
	}
}

?>
